package com.nchu.ft.common.constant;


/**
 * @InterfaceName: ApiCodeConstant
 * @description: 返回ApiResult的Code取值常量
 * @Author: Chuanwei Li
 * @CreateTime: 2024-12-22 17:52
 * @Version: 1.0
 */

public interface ApiCodeConstant {
    int API_SUCCESS = 20000;
    int API_WARN = 30000;

    int RESULT_NULLPOINT_EXCEPTION = 40001;
    int RESULT_METHODNOTSUPPORTED_EXCEPTION = 40002;
    int RESULT_MISSINGPATHVARIABLE_EXCEPTION = 40003;
    int RESULT_METHODARGUMENTTYPEMISMATCH_EXCEPTION = 40004;
    int RESULT_METHODARGUMENTNOTVALID_EXCEPTION = 40005;
    int RESULT_NULLSTORAGECONFIGURATION_EXCEPTION = 40006;
    int RESULT_FILENOTEXIST_EXCEPTION = 40007;
    int RESULT_OTHER_EXCEPTION = 40010;
    int ADD_FAILED = 40001;
    int UPDATE_FAILED = 40002;
    int DELETE_FAILED = 40003;
    int REGISTER_FAILED = 40004;
    int CANCEL_FAILED = 40005;
}
